package com.tms.order.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tms.order.mapper.DriveryjMapper;
import com.tms.order.domain.Driveryj;
import com.tms.order.service.IDriveryjService;

/**
 * 司机业绩统计Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-10-25
 */
@Service
public class DriveryjServiceImpl implements IDriveryjService 
{
    @Autowired
    private DriveryjMapper driveryjMapper;

    /**
     * 查询司机业绩统计
     * 
     * @param id 司机业绩统计主键
     * @return 司机业绩统计
     */
    @Override
    public Driveryj selectDriveryjById(Long id)
    {
        return driveryjMapper.selectDriveryjById(id);
    }

    /**
     * 查询司机业绩统计列表
     * 
     * @param driveryj 司机业绩统计
     * @return 司机业绩统计
     */
    @Override
    public List<Driveryj> selectDriveryjList(Driveryj driveryj)
    {
        return driveryjMapper.selectDriveryjList(driveryj);
    }

    /**
     * 新增司机业绩统计
     * 
     * @param driveryj 司机业绩统计
     * @return 结果
     */
    @Override
    public int insertDriveryj(Driveryj driveryj)
    {
        return driveryjMapper.insertDriveryj(driveryj);
    }

    /**
     * 修改司机业绩统计
     * 
     * @param driveryj 司机业绩统计
     * @return 结果
     */
    @Override
    public int updateDriveryj(Driveryj driveryj)
    {
        return driveryjMapper.updateDriveryj(driveryj);
    }

    /**
     * 批量删除司机业绩统计
     * 
     * @param ids 需要删除的司机业绩统计主键
     * @return 结果
     */
    @Override
    public int deleteDriveryjByIds(Long[] ids)
    {
        return driveryjMapper.deleteDriveryjByIds(ids);
    }

    /**
     * 删除司机业绩统计信息
     * 
     * @param id 司机业绩统计主键
     * @return 结果
     */
    @Override
    public int deleteDriveryjById(Long id)
    {
        return driveryjMapper.deleteDriveryjById(id);
    }
}
